package cn.lanqiao.facelogin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@MapperScan("cn.lanqiao.facelogin.mapper")
public class FaceloginApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(FaceloginApplication.class, args);
    }

    protected SpringApplicationBuilder configgure(SpringApplicationBuilder builder) {
        return builder.sources(FaceloginApplication.class);
    }
}
